home *** CD-ROM | disk | FTP | other *** search
/ PCMania 19 / PCMania19.iso / Jogos em Flash / CARTAS / LET_IT_RIDE.SWF / scripts / DefineButton2_62 / BUTTONCONDACTION on(press).as
Text File  |  2002-05-07  |  814b  |  42 lines

  1. on(press){
  2.    if(tOff == "0")
  3.    {
  4.       if(betMover == "1")
  5.       {
  6.          tellTarget("/b-deal")
  7.          {
  8.             gotoAndStop(2);
  9.          }
  10.          Credits += creditsPlayed;
  11.          creditsPlayed = "0";
  12.          OnMax = "0";
  13.          OnMaxBet = "0";
  14.          tellTarget("/betonme")
  15.          {
  16.             gotoAndStop(1);
  17.          }
  18.          tellTarget("/cr1")
  19.          {
  20.             gotoAndStop(1);
  21.          }
  22.          tellTarget("/cr2")
  23.          {
  24.             gotoAndStop(1);
  25.          }
  26.          tellTarget("/cr3")
  27.          {
  28.             gotoAndStop(1);
  29.          }
  30.          tellTarget("/cr4")
  31.          {
  32.             gotoAndStop(1);
  33.          }
  34.          tellTarget("/cr5")
  35.          {
  36.             gotoAndStop(1);
  37.          }
  38.          chipRow = "0";
  39.       }
  40.    }
  41. }
  42.